#pragma once
#include "../../include/p2p_interface.hpp"
class CP2PSessionMgr :
    public IP2PSessionManager
{
public:
    CP2PSessionMgr(void);
    virtual ~CP2PSessionMgr(void);

    virtual void OnLogin(INT32 err_code, UINT32 p2p_id);
    virtual void OnOpen(UINT32 peer_p2p_id);
    virtual void OnData(UINT32 peer_p2p_id, const char* data, const INT32 data_len);
    virtual void OnError(UINT32 peer_p2p_id, INT32 err_code);
    virtual void OnClose(UINT32 peer_p2p_id);
};
